/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package c;

import clases.InterfaceControllers;
import m.RolModel;

/**
 *
 * @author Sebas
 */
public class RolController extends Controller implements InterfaceControllers {
    RolModel rolModel = new RolModel();
    public RolController() {

       
    }
    public String[] comboRoles() {
        Object[][] roles = rolModel.obtenerTodo();
        String d = "";
        for( int n = 0; n < roles.length; n++) {
            d += roles[ n ][ 1 ] + ",";
        }
        return d.split(",");
    }
    @Override
    public Object[][] obtenerTodo() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

 

    @Override
    public void grid() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean add(String... values) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean mod(String... values) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean del(int id) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Object[][] buscar(String txtBusqueda) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    
}
